package com.fan.txl.mock.api.annotation;

import com.fan.txl.BuildConfig;

/**
 * Created by jiajiabao on 17-1-16.
 */

public class MockRspData {

    boolean mock;

    String path;

    public MockRspData(boolean mock, String path) {
        this.mock = mock;
        this.path = path;
    }

    public boolean isMock() {
        return BuildConfig.DEBUG?mock:BuildConfig.DEBUG;
    }

    public void setMock(boolean mock) {
        this.mock = mock;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }
}
